package com.pazl.check.api.dto;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * @ClassName ContracFileDto
 * @Description TODO
 * @Author 陈家辉
 * @Date 2020/5/18 上午 10:40
 * @Version 1.0
 **/
public class ContracFileDto implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -2594340313469714180L;

    @NotEmpty(message = "contractId missing.")
    private String contractId;// 合同id号
    @NotEmpty(message = "contractNo missing.")
    private String contractNo;// 合同编号
    @NotEmpty(message = "contract_url missing.")
    private String contract_url;// 合同照片
    @NotEmpty(message = "index missing.")
    @Pattern(regexp="0",message="index error,only 【0】")
    private String index;//

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContract_url() {
        return contract_url;
    }

    public void setContract_url(String contract_url) {
        this.contract_url = contract_url;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }
}
